package com.hx.jvm.proxy.cglib.aop;

import java.lang.reflect.Method;
import java.util.Arrays;

/**
 * @author jxlgcmh
 * @date 2020-08-16 21:41
 * @description
 */
@Aspect({ServiceB.class})
public class ExceptionAspect {
    public static void exception(Object target, Method method, Object[] args, Throwable e) {
        System.out.println("exception when calling: " + method.getName() + "," + Arrays.toString(args));
    }
}
